Computer Science Lesson Plan
Class: 5 - Lesson: 12 Real Life Programming Game-2

Purpose: To teach relative orientation and procedural operations.

No. of Classes

One class (teacher's decision).

Material Required

Chalk to draw a grid.

Prior Knowledge

Students should know:

  • Directions (left, right, forward and backward).
  • Exercise

    This activity involves a treasure, a person and a robot. The treasure is placed in one box (cell). The robot has to navigate to the position of the treasure, pick up the treasure, then navigate to the position of the person and hand the treasure over to the person.

    Note: There are bombs in some boxes, through which navigation is not possible. This means that the robot cannot step inside those boxes.

    Exercise 1



    1. How will the robot move and find the treasure, then return to give the treasure to the person?

    Work out the path for each of the two grids given below.

    ⟹a) Using step-by-step moves.

    No Image

    ⟹b) Using a repeat condition.

    No Image

    Solutions



  • Link to view the solution for part a).
  • Link to view the solution for part b).
  • Link to view the solution for two parts.

  • Teacher Instructions
    1. After having conducted a physical activity in a previous lesson plan, the teacher can now use a notebook and a pen in this lesson plan, and give similar exercise activities to the students.
    2. The number of boxes in the grid should be 5 x 5, and can be more than that.
    3. Students can arrive at the solution by any method, and need not follow the same method as the one given in the solution.